package com.hq.ims.data.service;

import com.hq.ims.data.dao.BusInfoFeedbackDeriveMapper;
import com.hq.ims.data.entity.BusInfoFeedbackDerive;
import com.hq.ims.data.vo.BusInfoFeedbackMapstruct;
import com.hq.mybatis.base.BaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 * @author 蒋柏平
 * @since 20241108
 * @detail 经营信息反馈派生表 服务实现类
 */
@Service
public class BaseBusInfoFeedbackDeriveService extends BaseService<BusInfoFeedbackDeriveMapper, BusInfoFeedbackDerive> {

    @Resource
    private BusInfoFeedbackDeriveMapper busInfoFeedbackDeriveMapper;

    /**
     * 查询派生的经营信息
     *
     * @param busInfoFeedbackId 反馈id
     * @return List
     */
    public List<BusInfoFeedbackMapstruct.DeriveBusiInfoVo> getDeriveBusiInfoList(String busInfoFeedbackId) {
        return busInfoFeedbackDeriveMapper.getDeriveBusiInfoList(busInfoFeedbackId);
    }
}